package com.zr.mapper;

import com.zr.entity.Emp;
import com.zr.entity.Userinfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author zr
* @description 针对表【tbl_userinfo】的数据库操作Mapper
* @createDate 2024-12-19 10:08:22
* @Entity com.zr.entity.Userinfo
*/
public interface UserinfoMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Userinfo record);

    int insertSelective(Userinfo record);

    Userinfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Userinfo record);

    int updateByPrimaryKey(Userinfo record);

    Userinfo selectByNameAndPwd(@Param("name") String name, @Param("password") String password);

    List<Userinfo> selectByName(String name);
}
